<?php

namespace Portal\ContentBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Content
 */
class Content
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var string
     */
    private $contentTitle;

    /**
     * @var string
     */
    private $contentBody;

    /**
     * @var string
     */
    private $slug;

    /**
     * @var string
     */
    private $imgThumb;

    /**
     * @var string
     */
    private $imgLarge;

    /**
     * @var boolean
     */
    private $isActive;

    /**
     * @var boolean
     */
    private $isSpecial;

    /**
     * @var integer
     */
    private $sortOrder;

    /**
     * @var integer
     */
    private $createdUserId;

    /**
     * @var \DateTime
     */
    private $createdAt;

    /**
     * @var integer
     */
    private $updatedUserId;

    /**
     * @var \DateTime
     */
    private $updatedAt;

    /**
     * @var string
     */
    private $updatedIp;

    /**
     * @var \Portal\ContentBundle\Entity\ContentCategory
     */
    private $category;

    /**
     * @var \Portal\ContentBundle\Entity\Menu
     */
    private $menu;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set contentTitle
     *
     * @param string $contentTitle
     * @return Content
     */
    public function setContentTitle($contentTitle)
    {
        $this->contentTitle = $contentTitle;
    
        return $this;
    }

    /**
     * Get contentTitle
     *
     * @return string 
     */
    public function getContentTitle()
    {
        return $this->contentTitle;
    }

    /**
     * Set contentBody
     *
     * @param string $contentBody
     * @return Content
     */
    public function setContentBody($contentBody)
    {
        $this->contentBody = $contentBody;
    
        return $this;
    }

    /**
     * Get contentBody
     *
     * @return string 
     */
    public function getContentBody()
    {
        return $this->contentBody;
    }

    /**
     * Set slug
     *
     * @param string $slug
     * @return Content
     */
    public function setSlug($slug)
    {
        $this->slug = $slug;
    
        return $this;
    }

    /**
     * Get slug
     *
     * @return string 
     */
    public function getSlug()
    {
        return $this->slug;
    }

    /**
     * Set imgThumb
     *
     * @param string $imgThumb
     * @return Content
     */
    public function setImgThumb($imgThumb)
    {
        $this->imgThumb = $imgThumb;
    
        return $this;
    }

    /**
     * Get imgThumb
     *
     * @return string 
     */
    public function getImgThumb()
    {
        return $this->imgThumb;
    }

    /**
     * Set imgLarge
     *
     * @param string $imgLarge
     * @return Content
     */
    public function setImgLarge($imgLarge)
    {
        $this->imgLarge = $imgLarge;
    
        return $this;
    }

    /**
     * Get imgLarge
     *
     * @return string 
     */
    public function getImgLarge()
    {
        return $this->imgLarge;
    }

    /**
     * Set isActive
     *
     * @param boolean $isActive
     * @return Content
     */
    public function setIsActive($isActive)
    {
        $this->isActive = $isActive;
    
        return $this;
    }

    /**
     * Get isActive
     *
     * @return boolean 
     */
    public function getIsActive()
    {
        return $this->isActive;
    }

    /**
     * Set isSpecial
     *
     * @param boolean $isSpecial
     * @return Content
     */
    public function setIsSpecial($isSpecial)
    {
        $this->isSpecial = $isSpecial;
    
        return $this;
    }

    /**
     * Get isSpecial
     *
     * @return boolean 
     */
    public function getIsSpecial()
    {
        return $this->isSpecial;
    }

    /**
     * Set sortOrder
     *
     * @param integer $sortOrder
     * @return Content
     */
    public function setSortOrder($sortOrder)
    {
        $this->sortOrder = $sortOrder;
    
        return $this;
    }

    /**
     * Get sortOrder
     *
     * @return integer 
     */
    public function getSortOrder()
    {
        return $this->sortOrder;
    }

    /**
     * Set createdUserId
     *
     * @param integer $createdUserId
     * @return Content
     */
    public function setCreatedUserId($createdUserId)
    {
        $this->createdUserId = $createdUserId;
    
        return $this;
    }

    /**
     * Get createdUserId
     *
     * @return integer 
     */
    public function getCreatedUserId()
    {
        return $this->createdUserId;
    }

    /**
     * Set createdAt
     *
     * @param \DateTime $createdAt
     * @return Content
     */
    public function setCreatedAt($createdAt)
    {
        $this->createdAt = $createdAt;
    
        return $this;
    }

    /**
     * Get createdAt
     *
     * @return \DateTime 
     */
    public function getCreatedAt()
    {
        return $this->createdAt;
    }

    /**
     * Set updatedUserId
     *
     * @param integer $updatedUserId
     * @return Content
     */
    public function setUpdatedUserId($updatedUserId)
    {
        $this->updatedUserId = $updatedUserId;
    
        return $this;
    }

    /**
     * Get updatedUserId
     *
     * @return integer 
     */
    public function getUpdatedUserId()
    {
        return $this->updatedUserId;
    }

    /**
     * Set updatedAt
     *
     * @param \DateTime $updatedAt
     * @return Content
     */
    public function setUpdatedAt($updatedAt)
    {
        $this->updatedAt = $updatedAt;
    
        return $this;
    }

    /**
     * Get updatedAt
     *
     * @return \DateTime 
     */
    public function getUpdatedAt()
    {
        return $this->updatedAt;
    }

    /**
     * Set updatedIp
     *
     * @param string $updatedIp
     * @return Content
     */
    public function setUpdatedIp($updatedIp)
    {
        $this->updatedIp = $updatedIp;
    
        return $this;
    }

    /**
     * Get updatedIp
     *
     * @return string 
     */
    public function getUpdatedIp()
    {
        return $this->updatedIp;
    }

    /**
     * Set category
     *
     * @param \Portal\ContentBundle\Entity\ContentCategory $category
     * @return Content
     */
    public function setCategory(\Portal\ContentBundle\Entity\ContentCategory $category = null)
    {
        $this->category = $category;
    
        return $this;
    }

    /**
     * Get category
     *
     * @return \Portal\ContentBundle\Entity\ContentCategory 
     */
    public function getCategory()
    {
        return $this->category;
    }

    /**
     * Set menu
     *
     * @param \Portal\ContentBundle\Entity\Menu $menu
     * @return Content
     */
    public function setMenu(\Portal\ContentBundle\Entity\Menu $menu = null)
    {
        $this->menu = $menu;
    
        return $this;
    }

    /**
     * Get menu
     *
     * @return \Portal\ContentBundle\Entity\Menu 
     */
    public function getMenu()
    {
        return $this->menu;
    }
    /**
     * @var integer
     */
    private $hasComment;


    /**
     * Set hasComment
     *
     * @param integer $hasComment
     * @return Content
     */
    public function setHasComment($hasComment)
    {
        $this->hasComment = $hasComment;
    
        return $this;
    }

    /**
     * Get hasComment
     *
     * @return integer 
     */
    public function getHasComment()
    {
        return $this->hasComment;
    }
}